package com.nova.scenic.projectlibs.util;

public interface Observer<T> {

        /**
         * This method is called if the specified {@code Observable} object's
         * {@code notifyObservers} method is called (because the {@code Observable}
         * object has been updated.
         *
         * @param observable
         *            the {@link java.util.Observable} object.
         * @param data
         *            the data passed to {@link java.util.Observable#notifyObservers(Object)}.
         */
        void update(Observable observable, T data);
    }